package model;
import java.util.Random;
public class Card {
	private int left;
	private int right;
	
	
	public Card() {
		Random random = new Random();
		int i = 0;
		int j = 0;
		do{
			i = random.nextInt(10);
		}while(i <= 4);
		do{
			j = random.nextInt(10);
		}while(j > 10);
		left = i;
		right = j;
	}
	public int getLeft() {
		return left;
	}
	public void setLeft(int left) {
		this.left = left;
	}
	public int getRight() {
		return right;
	}
	public void setRight(int right) {
		this.right = right;
	}
	
}
